<?php

/**
 * DAOFactory
 * 
 * @author: Dragan Milchevski
 * @date: 2012-06-22
 */
class DAOFactory{
	
	/**
	 * @return CategoriesDAO
	 */
	public static function getCategoriesDAO(){
		return new CategoriesSqliteExtDAO();
	}

	/**
	 * @return DocumentDAO
	 */
	public static function getDocumentDAO(){
		return new DocumentSqliteExtDAO();
	}

	/**
	 * @return NotesDAO
	 */
	public static function getNotesDAO(){
		return new NotesSqliteExtDAO();
	}

	/**
	 * @return ProjectsDAO
	 */
	public static function getProjectsDAO(){
		return new ProjectsSqliteExtDAO();
	}

	/**
	 * @return SearchesDAO
	 */
	public static function getSearchesDAO(){
		return new SearchesSqliteExtDAO();
	}
	
	/**
	 * @return UsersDAO
	 */
	public static function getUsersDAO(){
		return new UsersSqliteExtDAO();
	}
	
	/**
	 * @return RepositoryDAO
	 */
	public static function getAcmRepositoryDAO(){
		return new AcmApiImplExtDAO();
	}
	
	/**
	 *	@return IeeeApiImplExtDAO
	 */
	public static function getIeeeRepositoryDAO(){
		return new IeeeApiImplExtDAO();
	}
	
	/**
	 * @return RepositoryDAO
	 */
	public static function getArxivRepositoryDAO(){
		return new ArxivApiImplExtDAO();
	}

	/**
	 * @return PubmedApiImplExtDAO
	 */
	public static function getPubmedRepositoryDAO(){
		return new PubmedApiImplExtDAO();
	}
	
	/**
	 * 
	 * @return NasaApiImplExtDAO
	 */
	public static function getNasaRepositoryDAO(){
		return new NasaApiImplExtDAO();
	}
	/**
	 *
	 * @return CrossRefApiImplExtDAO
	 */
	public static function getCrossRefRepositoryDAO(){
		return new CrossRefApiImplExtDAO();
	}
	
	public static function getSpringerlinkRepositoryDAO(){
		return new SpringerlinkApiImplExtDAO();
	}
}
?>
